/**
 * Created by kang on 2016/12/19.
 */
'use strict';

app.controller('BGPublishCtrl', ['$scope','$stateParams','$state',function($scope,$stateParams,$state) {
	$scope.goOrdination = function(){
		$state.go("tab.bg-ordination");
	}
	/*var data = {""};*/
  	teamLog($stateParams.listId);
  	$scope.title = "发起包裹"; 
  	$scope.curruntpage = {}
  	if("1" == $stateParams.listId){
  		$scope.title = "包裹信息";
    	$scope.ispulishflag = {styleHide:{"display":"none"},disabled: true};
    	$scope.curruntpage = {
    		"gupiaoid":"600022",
    		"fengxi":"jkdlsajffkldjl解放开绿灯撒解放打开拉萨就阿凡达快乐撒解放拉是圣诞节啊靠法律纠纷解放路的卡萨附近的萨卡拉",
    		"tuijianyu":"放开绿灯撒解放打开拉萨就阿凡达快乐撒解放拉是圣诞节啊，放开绿灯撒解放打开拉萨就阿凡达快乐撒解放拉是圣诞节啊，放开绿灯撒解放打开拉萨就阿凡达快乐撒解放拉是圣诞节啊",
    		"jiayiri":"23",
    		"zhangfu":"13",
    		"kepei":"2400",
    		"jiezhitime":"2017/03/15",
    		"price":"3000",
    		"number":"600"
    	};
    }
  	$scope.reset = function(){
		$scope.curruntpage = {};
	}
  	$scope.doSubmit = function(){
		console.log($scope.curruntpage);
	}

}]);
